package com.xja.mapper;

import com.xja.bean.District;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
@author 李岩
@date 2021/12/23-10:32
@describe
*/
@Mapper
public interface DistrictMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(District record);

    int insertSelective(District record);

    District selectByPrimaryKey(Integer id);
    //查询全部区信息
    List<District> findAllDistrict();

    int updateByPrimaryKeySelective(District record);

    int updateByPrimaryKey(District record);
}